package com.wyh.domain.vo.gruopfour.myProprietorVO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
public class TimeRange {
    @ApiModelProperty(value = "周期开始时间")
    @JsonFormat(pattern = "yyyy.MM.dd")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "周期结束时间")
    @JsonFormat(pattern = "yyyy.MM.dd")
    private LocalDateTime endTime;
}
